<template>
  <div id="app">
    <transition name="fade">
        <router-view/>
    </transition>
  </div>
</template>

<script>
  import warterMark from '@/utils/warterMark'
  export default {
    watch: {
      '$store.state.loginMsg': {
        handler(val) {
          warterMark.set(val.rolename || '')
        },
        deep: true
      }
    },
    mounted() {
      
    }
  }
</script>

<style>
  #app{
    height: 100%;
  }
</style>
